Optimal. Leaf size=49 \[ \frac{1}{3} x^3 \left (a+b \tanh ^{-1}\left (c x^{3/2}\right )\right )-\frac{b \tanh ^{-1}\left (c x^{3/2}\right )}{3 c^2}+\frac{b x^{3/2}}{3 c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0337865, antiderivative size = 49, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.312, Rules used = {6097, 321, 329, 275, 206} \[ \frac{1}{3} x^3 \left (a+b \tanh ^{-1}\left (c x^{3/2}\right )\right )-\frac{b \tanh ^{-1}\left (c x^{3/2}\right )}{3 c^2}+\frac{b x^{3/2}}{3 c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6097
Rule 321
Rule 329
Rule 275
Rule 206
Rubi steps
\begin{align*} \int x^2 \left (a+b \tanh ^{-1}\left (c x^{3/2}\right )\right ) \, dx &=\frac{1}{3} x^3 \left (a+b \tanh ^{-1}\left (c x^{3/2}\right )\right )-\frac{1}{2} (b c) \int \frac{x^{7/2}}{1-c^2 x^3} \, dx\\ &=\frac{b x^{3/2}}{3 c}+\frac{1}{3} x^3 \left (a+b \tanh ^{-1}\left (c x^{3/2}\right )\right )-\frac{b \int \frac{\sqrt{x}}{1-c^2 x^3} \, dx}{2 c}\\ &=\frac{b x^{3/2}}{3 c}+\frac{1}{3} x^3 \left (a+b \tanh ^{-1}\left (c x^{3/2}\right )\right )-\frac{b \operatorname{Subst}\left (\int \frac{x^2}{1-c^2 x^6} \, dx,x,\sqrt{x}\right )}{c}\\ &=\frac{b x^{3/2}}{3 c}+\frac{1}{3} x^3 \left (a+b \tanh ^{-1}\left (c x^{3/2}\right )\right )-\frac{b \operatorname{Subst}\left (\int \frac{1}{1-c^2 x^2} \, dx,x,x^{3/2}\right )}{3 c}\\ &=\frac{b x^{3/2}}{3 c}-\frac{b \tanh ^{-1}\left (c x^{3/2}\right )}{3 c^2}+\frac{1}{3} x^3 \left (a+b \tanh ^{-1}\left (c x^{3/2}\right )\right )\\ \end{align*}
Mathematica [A] time = 0.0263497, size = 75, normalized size = 1.53 \[ \frac{a x^3}{3}+\frac{b \log \left (1-c x^{3/2}\right )}{6 c^2}-\frac{b \log \left (c x^{3/2}+1\right )}{6 c^2}+\frac{b x^{3/2}}{3 c}+\frac{1}{3} b x^3 \tanh ^{-1}\left (c x^{3/2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.029, size = 57, normalized size = 1.2 \begin{align*}{\frac{{x}^{3}a}{3}}+{\frac{b{x}^{3}}{3}{\it Artanh} \left ( c{x}^{{\frac{3}{2}}} \right ) }+{\frac{b}{3\,c}{x}^{{\frac{3}{2}}}}+{\frac{b}{6\,{c}^{2}}\ln \left ( c{x}^{{\frac{3}{2}}}-1 \right ) }-{\frac{b}{6\,{c}^{2}}\ln \left ( c{x}^{{\frac{3}{2}}}+1 \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.995113, size = 78, normalized size = 1.59 \begin{align*} \frac{1}{3} \, a x^{3} + \frac{1}{6} \,{\left (2 \, x^{3} \operatorname{artanh}\left (c x^{\frac{3}{2}}\right ) + c{\left (\frac{2 \, x^{\frac{3}{2}}}{c^{2}} - \frac{\log \left (c x^{\frac{3}{2}} + 1\right )}{c^{3}} + \frac{\log \left (c x^{\frac{3}{2}} - 1\right )}{c^{3}}\right )}\right )} b \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.85607, size = 142, normalized size = 2.9 \begin{align*} \frac{2 \, a c^{2} x^{3} + 2 \, b c x^{\frac{3}{2}} +{\left (b c^{2} x^{3} - b\right )} \log \left (-\frac{c^{2} x^{3} + 2 \, c x^{\frac{3}{2}} + 1}{c^{2} x^{3} - 1}\right )}{6 \, c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.22804, size = 97, normalized size = 1.98 \begin{align*} \frac{1}{3} \, a x^{3} + \frac{1}{6} \,{\left (x^{3} \log \left (-\frac{c x^{\frac{3}{2}} + 1}{c x^{\frac{3}{2}} - 1}\right ) + c{\left (\frac{2 \, x^{\frac{3}{2}}}{c^{2}} - \frac{\log \left ({\left | c x^{\frac{3}{2}} + 1 \right |}\right )}{c^{3}} + \frac{\log \left ({\left | c x^{\frac{3}{2}} - 1 \right |}\right )}{c^{3}}\right )}\right )} b \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]